home *** CD-ROM | disk | FTP | other *** search
- <refentry id="libgimp-gimpmessage" revision="19 Jan 2001">
- <refmeta>
- <refentrytitle>gimpmessage</refentrytitle>
- <manvolnum>3</manvolnum>
- <refmiscinfo>LIBGIMP Library</refmiscinfo>
- </refmeta>
-
- <refnamediv>
- <refname>gimpmessage</refname><refpurpose></refpurpose>
- </refnamediv>
-
- <refsynopsisdiv><title>Synopsis</title>
- <synopsis>
-
-
-
- <link linkend="gboolean">gboolean</link> <link linkend="gimp-message">gimp_message</link> (<link linkend="gchar">gchar</link> *message);
- <link linkend="GimpMessageHandlerType">GimpMessageHandlerType</link> <link linkend="gimp-message-get-handler">gimp_message_get_handler</link>
- (void);
- <link linkend="gboolean">gboolean</link> <link linkend="gimp-message-set-handler">gimp_message_set_handler</link> (<link linkend="GimpMessageHandlerType">GimpMessageHandlerType</link> handler);
- </synopsis>
- </refsynopsisdiv>
-
-
-
-
-
- <refsect1>
- <title>Description</title>
- <para>
-
- </para>
- </refsect1>
-
- <refsect1>
- <title>Details</title>
- <refsect2>
- <title><anchor id="gimp-message">gimp_message ()</title>
- <programlisting><link linkend="gboolean">gboolean</link> gimp_message (<link linkend="gchar">gchar</link> *message);</programlisting>
- <para>
- Displays a dialog box with a message.
- </para>
- <para>
- Displays a dialog box with a message. Useful for status or error
- reporting.</para>
- <para>
-
- </para><informaltable pgwide=1 frame="none" role="params">
- <tgroup cols="2">
- <colspec colwidth="2*">
- <colspec colwidth="8*">
- <tbody>
- <row><entry align="right"><parameter>message</parameter> :</entry>
- <entry> Message to display in the dialog.
- </entry></row>
- <row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry> TRUE on success.
- </entry></row>
- </tbody></tgroup></informaltable></refsect2>
- <refsect2>
- <title><anchor id="gimp-message-get-handler">gimp_message_get_handler ()</title>
- <programlisting><link linkend="GimpMessageHandlerType">GimpMessageHandlerType</link> gimp_message_get_handler
- (void);</programlisting>
- <para>
- Returns the current state of where warning messages are displayed.
- </para>
- <para>
- This procedure returns the way g_message warnings are displayed.
- They can be shown in a dialog box or printed on the console where
- gimp was started.</para>
- <para>
-
- </para><informaltable pgwide=1 frame="none" role="params">
- <tgroup cols="2">
- <colspec colwidth="2*">
- <colspec colwidth="8*">
- <tbody>
- <row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry> The current handler type.
- </entry></row>
- </tbody></tgroup></informaltable></refsect2>
- <refsect2>
- <title><anchor id="gimp-message-set-handler">gimp_message_set_handler ()</title>
- <programlisting><link linkend="gboolean">gboolean</link> gimp_message_set_handler (<link linkend="GimpMessageHandlerType">GimpMessageHandlerType</link> handler);</programlisting>
- <para>
- Controls where warning messages are displayed.
- </para>
- <para>
- This procedure controls how g_message warnings are displayed. They
- can be shown in a dialog box or printed on the console where gimp
- was started.</para>
- <para>
-
- </para><informaltable pgwide=1 frame="none" role="params">
- <tgroup cols="2">
- <colspec colwidth="2*">
- <colspec colwidth="8*">
- <tbody>
- <row><entry align="right"><parameter>handler</parameter> :</entry>
- <entry> The new handler type.
- </entry></row>
- <row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry> TRUE on success.
- </entry></row>
- </tbody></tgroup></informaltable></refsect2>
-
- </refsect1>
-
-
-
-
- </refentry>
-